.#{$ns}Chart {
  position: relative;

  &-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  &-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }

  > .visibility-sensor {
    height: 100%; // 修复图表高度为 0 时，visibility-sensor 无法触发的问题
  }
}
